package com.csdj.t309.service;

import com.csdj.t309.entity.CardType;
import com.csdj.t309.mapper.CardTypeMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 * @since 2022-03-05
 */
@Service
public class CardTypeService extends ServiceImpl<CardTypeMapper, CardType> implements ICardTypeService {

    @Resource
    private CardTypeMapper cardTypeMapper;

    public  List<CardType> cardTypeList(){
        return cardTypeMapper.findList();
    }

}
